OOPSPAM\WOOCOMMERCE\WooSpamProtection D

Total Complexity 157
Dependencies 1
Dependents 0
Total lines 837
Lines of code 583
Logical lines of code 333
Comment lines 107
Methods 19
Properties 1

Methods 19

Method Rating Maintainability Complexity Lines of code
oopspam_disable_wc_rest_checkout()
C
33 24 102
oopspam_check_order_attributes()
C
34 25 83
oopspam_woocommerce_login_errors()
A
43 14 45
checkEmailAndIPInOOPSpam()
A
43 12 52
oopspam_process_registration()
A
43 12 45
oopspam_legacy_checkout_classic_processed()
A
52 8 22
oopspam_checkout_store_api_processed()
A
53 8 21
oopspam_checkout_classic_processed()
A
53 8 21
oopspam_checkout_process()
A
54 8 20
oopspam_woocommerce_register_errors()
S
49 7 30
__construct()
S
50 6 25
cleanSensitiveData()
S
55 5 21
hasCompletedOrders()
S
55 5 19
oopspam_woocommerce_register_form()
S
56 3 22
oopspam_woocommerce_login_form()
S
56 3 22
isEmailAllowed()
S
57 2 17
get_error_message()
S
69 3 6
getInstance()
S
72 2 6
should_check_honeypot()
S
74 2 4